<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<jsp:include page="/bannerServlet?method=selectAll"></jsp:include>
	<section class="index-section">
		<div>
			<span></span> <span></span>
		</div>
		<!-- 公司介紹 -->
		<div class="index-content">
			<section class="index-content-section-first">
				<div>
					<img src="images/shouye.png" alt="">
				</div>
			</section>
			<section class="index-content-section-second">
				<div>
					<div class="index-auto">
						<article>公司简介</article>
						<h6>COMPANY INTRODUCTION</h6>
						<main>${home.homeIntro }</main>
						<a class="index-button" href="#">查看详情</a>
					</div>
				</div>
			</section>
		</div>
	</section>
	<br>
	<!-- 精选案例一 -->
	<section class="index-margin-bottom">
		<div class="index-morecase">
			<span></span> <a href="#">MORE &#62; &#62;</a>
		</div>
		<div class="index-content">
			<div class="product-list">
				<c:forEach items="${pro }" var="p">
					<div class="am-u-sm-6 am-u-md-6 am-u-lg-4">
						<a href="product_info.html"> <img src="${p.picUrl }" />
						</a>
					</div>
				</c:forEach>
			</div>
		</div>
	</section>
	<!-- 精选案例二 -->
	<section class="index-margin-bottom">
		<div class="index-morecase">
			<span></span> <a href="#">MORE &#62; &#62;</a>
		</div>
		<div class="index-content">
			<div class="new-index">
				<ul>
					<li><img src="images/jingxuanend.png" alt=""></li>
					<li><a href="article_list_content.jsp"><h3>${news[0].title }</h3>
							<article>${news[0].content }</article></a></li>
				</ul>
				<ul>
					<c:forEach items="${news }" var="n" begin="1">
						<li><a href="article_list_content.jsp"><h3>${n.title }</h3>
								<article>${n.content }</article></a></li>
					</c:forEach>
				</ul>
			</div>
		</div>
	</section>
	<jsp:include page="/homeInfoServlet?method=selectAll"></jsp:include>
</body>
</html>